package com.fulihui.usercore.enums;

import org.near.toolkit.model.BaseEnum;

/**
 * 合作方式枚举
 * @author Willard.Hu on 2016/9/22 0022.
 */
public enum CooperationMethodEnum implements BaseEnum {

    PARTNER("1", "直接合作商家"),

    THIRD_PARTNER("2", "第三方"),

    INPUT("3", "抓取输入"),

    ;

    private String code;
    private String desc;

    CooperationMethodEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
